New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pip-installable #54
Pip-installable #54
Conversation
… var. Default is now ~/.flexmeasures.conf
…stance directory (as recommended by Flask docs); improve helpful error messages
…ll not get this info on staging anymore, but we can display the version now which contains such info)
…sures version via pkg_resources as that apparently is slow. Instead we can use importlib_metadata as we support Python 3.7.
… to run FlexMeasures, but print a warning if they are missing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm still manually testing.
…sures into issue-51-Pip-installable
…oaded from env vars after possibly existing config file is read
…hange FLEXMEASURES_PUBLIC_DEMO to FLEXMEASURES_PUBLIC_DEMO_CREDENTIALS, add warning if FLEXMEASURES_REDIS_* settings are missing
…ironment variables
…Migrate about its location
…our migration history -> one complete db upgrade flow works now
…de out of the main view function.
…sures into issue-51-Pip-installable
I followed the pip installation tutorial successfully! Nice work. One tiny request: warn the user about needing the MAPBOX_ACCESS_TOKEN config parameter to view the map tiles on the dashboard: more info on how to obtain one can be found here: https://docs.mapbox.com/help/glossary/access-token/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work!
Make it possible to install FlexMeasures from pip and then configure and run it.
In the process,
flexmeasures
be the name of our CLI (instead offlask
)